package com.zhang.goods.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * spu商品信息表
 * </p>
 *
 * @author 创世神
 * @since 2023-10-04
 */
@Data
@TableName("my_spu_info")
public class SpuInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("business_id")
    private Long businessId;

    @TableField("spu_name")
    private String spuName;

    @TableField("spu_description")
    private String spuDescription;

    @TableField("category_id")
    private Long categoryId;

    @TableField("brand_id")
    private Long brandId;

    @TableField("weight")
    private double weight;

    @TableField("state")
    private Integer state;

    @TableField("create_time")
    private String createTime;

    @TableField("update_time")
    private String updateTime;

    @TableField("up_time")
    private LocalDateTime upTime;

}
